import Vue from 'vue'
import VueRouter from 'vue-router'
import One from '../views/One.vue'
import Two from '../views/Two.vue'
import ThreeTwo from '../views/ThreeTwo.vue'


Vue.use(VueRouter)

  const routes = [
  {
    path: '/One',
    name: 'One',
    component: One
  },
  {
    path: '/',
    name: 'Two',
    component: Two
  },
  {
    path: '/ThreeTwo',
    name: 'ThreeTwo',
    component: ThreeTwo
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
